//
//  SNOrderFormDetailModel.h
//  app
//
//  Created by 王少宁 on 15/5/6.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//  订单性情的基本 model

#import <Foundation/Foundation.h>
#import "SNOrderFormReceiverInfoModel.h"
#import "SNOrderFormDetailBasicModel.h"
#import "SNOrderFormDetailGoodsModel.h"
#import "SNOrderFormListFooterModel.h"
#import "SNOrderFormExpressInfoModel.h"
#import "SNCustomerServiceModel.h"

typedef NS_ENUM(NSInteger, OrderFormHeaderViewStyle) {
    OrderFormNonPay = 0,
    OrderFormPay = 1
};

@interface SNOrderFormDetailModel : NSObject

/** 订单号*/
@property (nonatomic, copy) NSString * sn;
/** 订单金额总额(包含运费)*/
@property (nonatomic, copy) NSString * money;
/** 订单状态*/
@property (nonatomic, copy) NSString * ostatus;
///** 支付方式*/
//@property (nonatomic, copy) NSString * payType;
/** 订单创建时间*/
@property (nonatomic, copy) NSString * createTime;
///** 订单最后一改动时间*/
//@property (nonatomic, copy) NSString * lastUpdateTime;
///** 订单商品信息*/
//@property (nonatomic, copy) NSString * product_info;
/** 是否退换货*/
@property (nonatomic, copy) NSString * isReturns;
///** 退换货审核状态*/
//@property (nonatomic, copy) NSString * returnStatus;
/** 收货人信息*/
@property (nonatomic, retain) SNOrderFormReceiverInfoModel * receiverInfoModel;
/** 配送时间,发票信息,买家留言*/
@property (nonatomic, retain) SNOrderFormDetailBasicModel * basicModel;
/** 商品列表*/
@property (nonatomic, retain) NSArray * productArray;
/** 商品金额*/
@property (nonatomic, retain) SNOrderFormListFooterModel * footerModel;
/** 客服信息*/
@property (nonatomic, retain) SNCustomerServiceModel * custonmerServiceModel;

- (instancetype)initwithDict:(NSDictionary *)dict;
+ (instancetype)modelWithDict:(NSDictionary *)dict;

@end
